#pragma once

#include "HelpInfo.h"

#include <vector>
using namespace std;

class HelpInfoManager
{
	static HelpInfoManager* pInstance;
	//Stores the help info for each object in the current level
	vector<HelpInfo*> infoVector;

	//Stores whether or not an object is in the current level
	vector<HelpInfo*>	objectVector;

	HelpInfoManager(void);
	~HelpInfoManager(void);
public:
	static HelpInfoManager* GetInstance( void );
	static void DeleteInstance( void );

	void addHelpInfo(HelpInfo* info) {infoVector.push_back(info);};
	void clearHelpInfo();

	void addObject(string name);
	void clearObjects();
	//Set all objects to false to reset for a new level
	void resetObjects();

	//Loads all help info from the .xml file
	//NOTE: still needs levelmanager to tell it which to use
	//		HelpInfoManager also needs to be loaded BEFORE levelmanager
	void loadHelpInfo();

	vector<HelpInfo*> getInfoVector() {return (infoVector);};
	vector<HelpInfo*>	  getObjectVector() {return (objectVector);};
};

